#include "PassToRandomUmbrellaPositionBehaviour.h"
#include "Evaluating/EvaluatingPanesMap.h"

extern CEvaluatingPanesMap* ePanesMap;

/*
 * Nahravka na jednu z nahodne vybranych pozicii dazdnika
 * 
 *
 */
void PassToRandomUmbrellaPositionBehaviour::Behave()
{
	int nIndex = ePanesMap->GenerateRandomIndex(4);
	GetKickBehaviour()->Behave(DATA_STORAGE.umbrellaPositions[8 + nIndex]);
}
